package com.goldplusgold.tradedelay.app.market.adapter;

import android.content.Context;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentManager;

import com.goldplusgold.support.lib.base.adapter.BasePagerAdapter;

import java.util.ArrayList;

public class MainPagerAdapter extends BasePagerAdapter {
    private ArrayList<Fragment> mArrayList;

    public MainPagerAdapter(FragmentManager fm, Context context) {
        super(fm, context);
        mArrayList = new ArrayList<>();
    }

    public void add(Fragment fragment) {
        mArrayList.add(fragment);
    }

}
